package com.homedo.odin.solution.contract.mng;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.homedo.odin.solution.model.base.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;

/**
 * Created by liyi on 2018/5/17.
 */
@ApiModel(description = "编辑基础数据列表")
@JsonIgnoreProperties(ignoreUnknown = true)
@Data
public class CommonDataListEditReq extends BaseRequest {

    @ApiModelProperty("list")
    @NotNull(message = "编辑基础数据列表不能为空")
    @Size(min = 1, message = "基础数据列表不能为空")
    private List<CommonDataEditReq> list;

}
